Optimal. Leaf size=12 \[ -\frac {\sin ^{-1}(1-2 b x)}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {633, 222}
\begin {gather*} -\frac {\text {ArcSin}(1-2 b x)}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 222
Rule 633
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {b x-b^2 x^2}} \, dx &=-\frac {\text {Subst}\left (\int \frac {1}{\sqrt {1-\frac {x^2}{b^2}}} \, dx,x,b-2 b^2 x\right )}{b^2}\\ &=-\frac {\sin ^{-1}(1-2 b x)}{b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(57\) vs. \(2(12)=24\).
time = 0.04, size = 57, normalized size = 4.75 \begin {gather*} -\frac {2 \sqrt {x} \sqrt {-1+b x} \log \left (-\sqrt {b} \sqrt {x}+\sqrt {-1+b x}\right )}{\sqrt {b} \sqrt {-b x (-1+b x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(34\) vs.
\(2(11)=22\).
time = 0.38, size = 35, normalized size = 2.92
method | result | size |
default | \(\frac {\arctan \left (\frac {\sqrt {b^{2}}\, \left (x -\frac {1}{2 b}\right )}{\sqrt {-b^{2} x^{2}+b x}}\right )}{\sqrt {b^{2}}}\) | \(35\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.48, size = 21, normalized size = 1.75 \begin {gather*} -\frac {\arcsin \left (-\frac {2 \, b^{2} x - b}{b}\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 27 vs.
\(2 (11) = 22\).
time = 1.27, size = 27, normalized size = 2.25 \begin {gather*} -\frac {2 \, \arctan \left (\frac {\sqrt {-b^{2} x^{2} + b x}}{b x}\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {- b^{2} x^{2} + b x}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 41 vs.
\(2 (11) = 22\).
time = 2.73, size = 41, normalized size = 3.42 \begin {gather*} \frac {1}{4} \, \sqrt {-b^{2} x^{2} + b x} {\left (2 \, x - \frac {1}{b}\right )} - \frac {\arcsin \left (-2 \, b x + 1\right ) \mathrm {sgn}\left (b\right )}{8 \, {\left | b \right |}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.31, size = 42, normalized size = 3.50 \begin {gather*} \frac {\ln \left (\frac {\frac {b}{2}-b^2\,x}{\sqrt {-b^2}}+\sqrt {b\,x-b^2\,x^2}\right )}{\sqrt {-b^2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________